import { Router } from 'vue-router'
import { useCheckToken } from './useCheckToken'

const guardsMethods = [useCheckToken]

export const useGuards = (router: Router) =>
  guardsMethods.forEach((guard) => guard(router))
